<jsp:directive.include file="parts/templateHead.jsp" />
<jsp:directive.include file="parts/includeBootstrap.jsp" />
<!-- this is required for dropdowns -->
<title><s:text name="title.home" /></title>
</head>
<body>
	<!-- 	nav -->
	<nav class="navbar navbar-default navbar-fixed-top">
		<jsp:directive.include file="parts/navbarHeader.jsp" />
		<div class="navbar-collapse collapse">
			<ul class="nav navbar-nav">
				<li class="active"><s:a action="redirect-stpage"><s:text name="menu.home" /></s:a></li>
				<li><s:a action="redirect-stview"><s:text name="menu.view" /></s:a></li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<jsp:directive.include file="parts/navigation/lang.jsp" />
				<jsp:directive.include file="parts/navigation/login.jsp" />
				<li><s:a action="redirect-reg"><s:text name="menu.registration" /></s:a></li>
			</ul>
		</div>
	</nav>
	<!-- 	endnav -->

	<div class="container topoffset">
		<div class="page-header">
			<h1><s:text name="startpage.welcome" /></h1>
			<br>
			<div id="error">
			<c:if test="${reason != null}">
				<div class="alert alert-danger">
					<a class="close" href="#" data-dismiss="alert"></a>
					<c:out value="${reason}" />
				</div>
			</c:if>
			<c:if test="${success != null}">
				<div class="alert alert-success">
					<a class="close" href="#" data-dismiss="alert"></a>
					<c:out value="${success}" />
				</div>
			</c:if>
			<c:if test="${success == null}">
				<c:if test="${reason == null}">
					<div class="alert alert-info">
						<s:text name="startpage.info.pleaselogin"/>
					</div>	
				</c:if>	
			</c:if>
			</div>
			
		</div>
		<div class="bs-example">
			<div class="panel panel-info">
				<div class="panel-heading">
					<h3><s:text name="startpage.info.services" /></h3>
				</div>
				<div class="panel-body"></div>
				<jsp:directive.include file="parts/servicesProvided.jsp" />
			</div>
		</div>
	</div>
</body>
</html>